package com.parenting.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CommodityResponse对象", description="商品详情显示")
public class CommodityResponse implements Serializable {

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "货号")
    private String articleNumber;

    @ApiModelProperty(value = "关键词（最多五个关键词）")
    private String keywords;

    @ApiModelProperty(value = "商品描述")
    private String description;

    @ApiModelProperty(value = "商品价格(价格为整数 1代表一分钱)")
    private Integer price;

    @ApiModelProperty(value = "商品库存")
    private Integer stock;

    @ApiModelProperty(value = "库存量预警值")
    private String warning;

    @ApiModelProperty(value = "图片URL（多个地址逗号分隔）")
    private String imagesUrl;

    @ApiModelProperty(value = "视频URL")
    private String videoUrl;

    @ApiModelProperty(value = "是否上架（1上架，2下架）")
    private Integer shelves;

    @ApiModelProperty(value = "是否删除（1否，2是 默认 1）")
    private Integer commodityRemove;

    @ApiModelProperty(value = "是否审核（1审核通过，2审核不同意，3无需审核，4审核中）")
    private Integer examine;

    @ApiModelProperty(value = "商品详情")
    private String details;

}
